#include<iostream>
using namespace std;

inline double square(double x)
{
	return x * x;
}

int main()
{
	double x = 3.0;
	double y = 13.5;
	
	cout << "x squared = " << square(x) << endl;
	cout << "y squared = " << square(y) << endl;
	cout << "x + y squared = " << square(x + y) << endl;
	return 0;
}
